package com.xiangyi.teachingsystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiangyi.teachingsystem.dao.GroupResMapper;
import com.xiangyi.teachingsystem.entity.po.GroupRes;
import com.xiangyi.teachingsystem.service.GroupResService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GroupResServiceImpl extends ServiceImpl<GroupResMapper, GroupRes> implements GroupResService {
    @Autowired
    GroupResMapper groupResMapper;
    @Override
    public List<GroupRes> list(Integer groupId) {
        return groupResMapper.list(groupId);
    }

    @Override
    public List<GroupRes> groupResList() {
        return groupResMapper.groupResList();
    }
}
